﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Game
{
    public abstract class TypeClass
    {
    }

    public class TypeList<BaseType> : Dictionary<Type, BaseType>
    {
        public T Get<T>() where T : TypeClass
        {
            return this[typeof(T)] as T;
        }
    }
}
